package com.example.demo.day.config.learn.designBook.part9AbstractFactory.part1;

public class FemaleFactory implements HumanFactory {

    //生产出黄人女性
    @Override
    public Human createYellowHuman() {
        return new FemaleYellowHuman();
    }

    @Override
    public Human createBlackHuman() {
        return null;
    }

    @Override
    public Human createWhiteHuman() {
        return null;
    }
}
